{{ define "main" }}
    {{ if .Site.Params.enableTree }}
        {{ partial "pages/tree-categories.html" . }}
    {{ else }}
        {{ partial "pages/taxonomy.html" . }}
    {{ end }}
{{ end }}